package com.meima.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

@Data
public class Order {

    private Long id;
    private Long userId;
    private String name;
    private Long price;
    private Integer num;

    @TableField(exist = false) // 忽略当前字段
    private User user;
}
